button

public MouseEntered.Builder button(MouseButton mouseButton)

Sets the button that was pressed.

Return

this builder

Parameters

mouseButton

the pressed button